package se.statifyme.client.declaration;

import java.util.List;

import se.thoka.twt.client.json.JsonArray;

import com.gwtent.reflection.client.Reflectable;

@Reflectable
public class GWTItemDeclaration {

	private String displayName;
	
	@JsonArray(type = GWTItemFieldDeclaration.class)
	private List<GWTItemFieldDeclaration> fields;
	
	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public List<GWTItemFieldDeclaration> getFields() {
		return fields;
	}

	public void setFields(List<GWTItemFieldDeclaration> fields) {
		this.fields = fields;
	}
}
